package com.asp.aspchain.admin.biz;

import com.asp.aspchain.admin.entity.Sequence;
import com.asp.aspchain.admin.mapper.SequenceMapper;
import com.asp.aspchain.common.biz.BaseBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class SequenceBiz  extends BaseBiz<SequenceMapper, Sequence> {
	@Autowired
	SequenceMapper sequenceMapper;
	public String getNextStringValue(String seqName) {
		return sequenceMapper.getNextStringValue(seqName);
	}
}
